* sysdep.c: Remove clause for DGUX support of FASYNC; add clause
authorJim Blandy <jimb@redhat.com>
Thu, 10 Jun 1993 06:21:19 +0000 (06:21 +0000)
committerJim Blandy <jimb@redhat.com>
Thu, 10 Jun 1993 06:21:19 +0000 (06:21 +0000)
to #undef FASYNC if BROKEN_FASYNC is #defined.

src/sysdep.c

index b7aa5d4bf0e83612afd9a5d084243fb727786dfb..49744430560b90dd53fa93e05e5f786b4919088c 100644 (file)
@@ -104,10 +104,14 @@ extern char *sys_errlist[];
 #endif
 #endif /* not 4.1 bsd */
 
-/* Get DGUX definition for FASYNC - DJB */
-#ifdef DGUX
-#include <sys/file.h>
-#endif /* DGUX */
+#ifdef BROKEN_FASYNC
+/* On some systems (DGUX comes to mind real fast) FASYNC causes
+   background writes to the terminal to stop all processes in the
+   process group when invoked under the csh (and probably any shell
+   with job control). This stops Emacs dead in its tracks when coming
+   up under X11. */
+#undef FASYNC
+#endif
 
 #include <sys/ioctl.h>
 #include "systty.h"